<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>银行业务管理系统</title>
    
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/css/all.min.css" rel="stylesheet">
    
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .main-container {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            padding: 40px;
            backdrop-filter: blur(10px);
        }
        
        .system-title {
            color: #333;
            font-weight: bold;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .system-subtitle {
            color: #666;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .login-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .login-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .login-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #007bff;
        }
        
        .login-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }
        
        .login-description {
            color: #666;
            margin-bottom: 25px;
        }
        
        .btn-login {
            width: 100%;
            padding: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-admin {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
        }
        
        .btn-admin:hover {
            background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
            color: white;
            transform: translateY(-2px);
        }
        
        .btn-customer {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            border: none;
            color: white;
        }
        
        .btn-customer:hover {
            background: linear-gradient(135deg, #ee82e9 0%, #f3455a 100%);
            color: white;
            transform: translateY(-2px);
        }
        
        .feature-list li {
            padding: 8px 0;
            color: #666;
        }
        
        .feature-list li i {
            color: #28a745;
            margin-right: 10px;
        }
        
        .footer-info {
            text-align: center;
            margin-top: 30px;
            color: #666;
            font-size: 0.9rem;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-lg-10 col-xl-8">
                <div class="main-container">
                    <!-- 系统标题 -->
                    <h1 class="system-title">
                        <i class="fas fa-university"></i>
                        银行业务管理系统
                    </h1>
                    <!-- 登录选择 -->
                    <div class="row">
                        <!-- 管理员登录 -->
                        <div class="col-md-6">
                            <div class="login-card text-center">
                                <div class="login-icon">
                                    <i class="fas fa-user-shield"></i>
                                </div>
                                <h3 class="login-title">管理员入口</h3>
                                <p class="login-description">
                                    管理客户信息、银行卡信息、存款<br>
                                    查看交易记录、导出报表数据
                                </p>
                                <a href="/admin" class="btn btn-admin btn-login">
                                    <i class="fas fa-sign-in-alt"></i>
                                    进入管理系统
                                </a>
                            </div>
                        </div>
                        
                        <!-- 客户登录 -->
                        <div class="col-md-6">
                            <div class="login-card text-center">
                                <div class="login-icon">
                                    <i class="fas fa-user"></i>
                                </div>
                                <h3 class="login-title">客户入口</h3>
                                <p class="login-description">
                                    查询余额、交易记录<br>
                                    办理存取款、转账、挂失等业务
                                </p>
                                <a href="/customer" class="btn btn-customer btn-login">
                                    <i class="fas fa-credit-card"></i>
                                    进入客户系统
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 页脚信息 -->
                    <div class="footer-info">
                        <p>
                            <i class="fas fa-copyright"></i> 2025 银行业务管理系统
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- JavaScript -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        $(document).ready(function() {
            // 添加页面加载动画
            $('.login-card').hide().fadeIn(800);
            $('.system-info').hide().delay(400).fadeIn(800);
            
            // 添加按钮点击效果
            $('.btn-login').on('click', function(e) {
                var $btn = $(this);
                $btn.html('<i class="fas fa-spinner fa-spin"></i> 正在跳转...');
                
                // 延迟跳转以显示加载效果
                setTimeout(function() {
                    window.location.href = $btn.attr('href');
                }, 500);
                
                e.preventDefault();
            });
        });
    </script>
</body>
</html>
